package cn.iocoder.ny.module.mall.domain;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;

import java.util.concurrent.CompletableFuture;

/**
 * @author luchunhong
 * @date 2024/11/07/ 16:39
 * @description:
 */
public class SmsRequestResponse {
    private SendCtyunSmsRequest request;
    private CompletableFuture<CommonResult<String>> future;

    public SmsRequestResponse(SendCtyunSmsRequest request) {
        this.request = request;
        this.future = new CompletableFuture<>();
    }

    public SendCtyunSmsRequest getRequest() {
        return request;
    }

    public CompletableFuture<CommonResult<String>> getFuture() {
        return future;
    }
}
